package assist.domain.model;

import java.io.Serializable;
import java.util.Date;

public class GamesQuery implements Serializable
{
    private static final long serialVersionUID = 1L;
    private Team team = new Team();
    private Date start = new Date(new Date().getTime() - 31536000000L * 2);
    private Date end = new Date(new Date().getTime() - 31536000000L);
    
    public GamesQuery()
    {
        team.setAbbreviation("EDM");
    }
    
    public Team getTeam()
    {       
        return this.team;
    }

    public Date getStart()
    {       
        return this.start;
    }

    public Date getEnd()
    {     
        return this.end;
    }

    public void setStart(Date start)
    {
        this.start = start;
    }
    
    public void setEnd(Date end)
    {
        this.end = end;
    }

    public void setTeam(Team team)
    {
        this.team = team;
    }    

}
